import { ref } from 'vue';

export const cut = (text, len) => {
    return text.length > len ? text.substring(0, len) + '...' : text;
};